package com.jv.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jv.entity.Product;

import java.util.HashMap;
import java.util.List;

/**
 * 商品Service接口
 * @author Jv
 * @version 1.0
 */
public interface IProductService extends IService<Product> {

    List<Product> list(HashMap<String, Object> map);

    Long getTotals(HashMap<String, Object> map);

    void add(Product product);

    void update(Product product);

    Product findById(Integer id);
}
